package org.vectrics.project.task;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import org.vectrics.company.Company;
import org.vectrics.user.Person;

/**
 * @author mmoore
 */
public class TaskCriteria {
	private Person person = null;
	private Company company = null;
	private Date activeDate = null;
	private Set statusTypeCodes = new HashSet();

	/**
	 * @return Returns the activeDate.
	 */
	public Date getActiveDate() {
		return activeDate;
	}
	/**
	 * @param activeDate The activeDate to set.
	 */
	public void setActiveDate(Date activeDate) {
		this.activeDate = activeDate;
	}
	/**
	 * @return Returns the company.
	 */
	public Company getCompany() {
		return company;
	}
	/**
	 * @param company The company to set.
	 */
	public void setCompany(Company company) {
		this.company = company;
	}
	/**
	 * @return Returns the person.
	 */
	public Person getPerson() {
		return person;
	}
	/**
	 * @param person The person to set.
	 */
	public void setPerson(Person person) {
		this.person = person;
	}
	
	public void addStatusTypeCode(String code) {
		this.statusTypeCodes.add(code);
	}
	
	/**
	 * @return Returns the statusTypeCodes.
	 */
	public Set getStatusTypeCodes() {
		return statusTypeCodes;
	}
	/**
	 * @param statusTypeCodes The statusTypeCodes to set.
	 */
	public void setStatusTypeCodes(Set statusTypeCodes) {
		this.statusTypeCodes = statusTypeCodes;
	}

	
	
}
